package com.atguigu.JDBC;

import java.util.List;

/**
 * @author haoranlu
 * @project IntelliJ IDEA
 */
public interface DepartmentDAO {
    void addDepartment(Department dept);
    void updateDepartment(Department dept);
    Department getById(Integer depid);
    List<Department> getAll();
}
